package com.fh.service.impl;

import com.fh.mapper.OrderitemMapper;
import com.fh.model.OrderItem;
import com.fh.service.OrderitemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderitemServiceImpl implements OrderitemService {

@Resource
private OrderitemMapper orderitemMapper;

    @Override
    public int addOrderitem(OrderItem orderItem) {
        return orderitemMapper.insert(orderItem);
    }
}
